<?php /* Smarty version Smarty-3.1.8, created on 2012-05-11 20:08:41
         compiled from "application/views/templates\user\user_reg_result.tpl" */ ?>
<?php /*%%SmartyHeaderCode:19734fa2ea430862c3-26046612%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b8ff007620a78b57272fbb879df9f8eb9f33f145' => 
    array (
      0 => 'application/views/templates\\user\\user_reg_result.tpl',
      1 => 1336076895,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '19734fa2ea430862c3-26046612',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_4fa2ea4333c127_27739617',
  'variables' => 
  array (
    'suc' => 0,
    'recommend' => 0,
    'val' => 0,
    'row' => 0,
    'my_id' => 0,
    'my_name' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4fa2ea4333c127_27739617')) {function content_4fa2ea4333c127_27739617($_smarty_tpl) {?><div class="round-corner white">
 	<?php if ($_smarty_tpl->tpl_vars['suc']->value==true){?>
 		<div class="hero-unit">
			  <h1>Congraluation!</h1>
			  <p>You have become a TourGeek in Tourini. Here are some users that you might wanna "friend" with</p>
			
			  <div class="well">
			  <ul class="thumbnails">
			  <?php  $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['row']->_loop = false;
 $_smarty_tpl->tpl_vars['val'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['recommend']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){
$_smarty_tpl->tpl_vars['row']->_loop = true;
 $_smarty_tpl->tpl_vars['val']->value = $_smarty_tpl->tpl_vars['row']->key;
?>
				
 					 <li>
   						 <div class="thumbnail" id="<?php echo $_smarty_tpl->tpl_vars['val']->value;?>
">
      						<img src="<?php echo $_smarty_tpl->tpl_vars['row']->value['photo'];?>
" width="130px" height="110px" alt="">
      						<h5><?php echo $_smarty_tpl->tpl_vars['row']->value['u_username'];?>
</h5>
      						<p><?php echo $_smarty_tpl->tpl_vars['row']->value['u_profile'];?>
</p>
      						<p><input type="button" id="btn_<?php echo $_smarty_tpl->tpl_vars['my_id']->value;?>
<?php echo $_smarty_tpl->tpl_vars['row']->value['u_name'];?>
" class="btn btn-info" href="#" value="Friend!" onclick="pop_friend_request('<?php echo $_smarty_tpl->tpl_vars['my_id']->value;?>
','<?php echo $_smarty_tpl->tpl_vars['my_name']->value;?>
','<?php echo $_smarty_tpl->tpl_vars['row']->value['u_name'];?>
','<?php echo $_smarty_tpl->tpl_vars['row']->value['u_username'];?>
')"></input></p>
    					</div>
  					</li>
				
			  <?php } ?>
			  </ul>	
			  <a class="btn btn-success btn-medium" href="/index.php">
			   	Next 
			  </a>
			  </div>	
		<p>
			<a class="btn btn-primary btn-large" href="/index.php">
			   Leave Me Alone! I am a Cowboy TourGeek.
			</a>
		</p>
		</div>
		
	<?php }else{ ?>
		<div class="hero-unit">
			<h1>Sorry!</h1>
			<p>Error occuerd when you try to sign up, we will fix it soon!</p>
		</div>		
	<?php }?>
</div><?php }} ?>